package com.dyn.videohub.Service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.dyn.videohub.domain.User;
import com.dyn.videohub.domain.UserInfoVo;

public interface UserService extends IService<User> {

    Long getCurrentUserId();

    void SMSCode(String phone);

    String register(String username, String password);

    String loginByPassword(String username, String password);

    String validateSMSLogin(String phone, String code);

    UserInfoVo getUserInfo(String token);
}
